package com.diandiansong.app.entity;

import com.google.gson.annotations.SerializedName;

import java.util.List;

import diandiansong.library.utils.BaseEntity;

public class NewsInfo extends BaseEntity {
    /**
     * message : null
     * data : [{"id":"2","title":"标题2","title_img":"http://h3.mobilekoudai.com/uploads/e3fe24ae7ac071bf79642f6ba9a0950cc6.jpg",
     * "createtime":"2018.07.04"},{"id":"1","title":"标题1","title_img":"http://h3.mobilekoudai.com/uploads/e3fe24ae7ac071bf79642f6ba9a0950cc6.jpg",
     * "createtime":"2018.07.04"}]
     */

    @SerializedName("data")
    private List<Data> data;

    public List<Data> getData() {
        return data;
    }

    public void setData(List<Data> data) {
        this.data = data;
    }

    public static class Data {
        /**
         * id : 2
         * title : 标题2
         * title_img : http://h3.mobilekoudai.com/uploads/e3fe24ae7ac071bf79642f6ba9a0950cc6.jpg
         * createtime : 2018.07.04
         */

        @SerializedName("id")
        private String id;
        @SerializedName("title")
        private String title;
        @SerializedName("title_img")
        private String titleImg;
        @SerializedName("createtime")
        private String createtime;

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public String getTitleImg() {
            return titleImg;
        }

        public void setTitleImg(String titleImg) {
            this.titleImg = titleImg;
        }

        public String getCreatetime() {
            return createtime;
        }

        public void setCreatetime(String createtime) {
            this.createtime = createtime;
        }
    }
}
